home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000146_fdc@columbia.edu_Fri Aug 26 13:21:52 2005.msg < prev    next >
Text File  |  2020-01-01  |  6KB  |  117 lines

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Some K95 hints
  5. Date: 26 Aug 2005 17:07:38 GMT
  6. Organization: Columbia University
  7. Lines: 98
  8. Message-ID: <slrndguj2q.ibs.fdc@sesame.cc.columbia.edu>
  9. Reply-To: fdc@columbia.edu
  10. NNTP-Posting-Host: sesame.cc.columbia.edu
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=iso-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-Trace: newsmaster.cc.columbia.edu 1125076058 21276 128.59.59.56 (26 Aug 2005 17:07:38 GMT)
  15. X-Complaints-To: postmaster@columbia.edu
  16. NNTP-Posting-Date: 26 Aug 2005 17:07:38 GMT
  17. User-Agent: slrn/0.9.8.0 (SunOS)
  18. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15389
  19.  
  20. I still try to do all my work except maybe web browsing and image processing
  21. in Unix shell sessions through K95, for all the reasons explained in this
  22. (now somewhat dated) document:
  23.  
  24.   http://www.columbia.edu/kermit/safe.html
  25.  
  26. and also because I simply prefer typing to using a mouse.
  27.  
  28. Recently I've been doing more and more work in languages other than English,
  29. where I need to type accented letters, etc, and of course also view them on
  30. the screen, e.g. in incoming e-mail.  Well in the modern age, in which all
  31. the hard-fought standards have flown out the Window, I've had to switch
  32. from Latin-1 as my normal character set to CP1252, in order to keep my
  33. terminal emulator from getting wedged hundreds of times a day by "smart
  34. quotes" and other atrocities stuffed into the C1 control area.  Sad to
  35. say, ISO 8859-1 and the other ISO Latin alphabets are next to useless now
  36. in the terminal-host environment because of Microsoft code page pollution.
  37. (It's fine that companies have their own proprietary code pages, but these
  38. should not be used for interchange on the open network, but too bad, it's
  39. already happened; the Internet is full of this stuff, and to make matters
  40. worse, as often as not it's labeled as ISO-8859-x.)
  41.  
  42. This, in turn, makes the Kermit's emulation of DEC VT220 and VT320 terminals
  43. problematic, because they were designed to use the 8-bit C1 controls of ISO
  44. 6449 and hosts that know about these terminals can and sometimes do use
  45. those controls (VMS in particular).
  46.  
  47. This is especially unfortunate since K95's default terminal emulation is
  48. VT320.  New users will often find their very first terminal session going
  49. crazy, which does not leave a very good first impression.  To make matters
  50. still worse, Sun seems to have deleted VT320 from its list of known terminal
  51. types in terminfo.  Thus the instant someone makes a connection to Solaris 9
  52. or later, they get messages like:
  53.  
  54.   emacs: Terminal type vt320 is not defined.
  55.   If that is not the actual type of terminal you have,
  56.   use the Bourne shell command `TERM=... export TERM' (C-shell:
  57.   `setenv TERM ...') to specify the correct type.  It may be necessary
  58.   to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.
  59.  
  60. In which case a switch to VT220 is in order, since Solaris still supports
  61. that one and from the standpoint of Unix/curses usage, it's no different.
  62. We probably should make VT220 the default emulation in the next release.
  63.  
  64. For typing accented characters, if you do it a lot and if you're a touch
  65. typist, Kermit's default Compose key (Alt-C) is a bit inconvenient.  I've
  66. found that it's more convenient -- and even somewhat mnemonic -- to assign
  67. the Compose function to Ctrl-Apostrophe:
  68.  
  69.   set key \1502 \Kcompose
  70.  
  71. Thus to type a-acute (∩┐╜) you type Ctrl-', then a, then ', and the hands
  72. never leave the home keys.  Of course you could also use the built-in
  73. Windows keyboard input methods but I find the dead keys annoying.
  74.  
  75. Ctrl-' is a handy choice for an oft-used function because it's not a real
  76. character, and therefore has no other use, and it's reachable from the home
  77. position.  There are a bunch of other keys like that, punctuation that does
  78. not turn into a valid Control character when used with the Ctrl key,
  79. including period, comma, slash, etc.  So if reaching for the Alt key annoys
  80. you, put your most often used \Kverbs on these key combos, e.g.:
  81.  
  82.   set key \1470 \Kexit ; Terminal/command screen toggle on Ctrl-period
  83.  
  84. Of course PC keyboards have their Ctrl keys in an awkward spot too,
  85. but not mine :-)
  86.  
  87.   http://www.linuxjournal.com/node/7674/print
  88.   http://www.pckeyboard.com
  89.  
  90. (Unicomp Linux 101 keyboard, highly recommended.)
  91.  
  92. Finally, since I read email on the Unix host, I often find it necessary to
  93. download a message to my PC because it's in some hideous format known only
  94. to Windows.  My Unix-based email client (mm) already knows how to download
  95. messages with Kermit, and of course K95 receives them automatically as soon
  96. as the transfer starts because of its autodownload feature.  If you give the
  97. downloaded message a filename that ends with ".eml" and then you tell K95 to
  98. "run start xyz.eml" (the file that was just downloaded), then Windows
  99. automatically puts it into Outlook for you so you can see it (yes, there are
  100. risks, but you can manage them, e.g. by making WordPad your default
  101. .doc-file viewer, disabling macros in all Office components, not having a
  102. Windows-based mailbox or address book, etc).
  103.  
  104. Anyway, in this context, it's handy to define a Kermit macro like:
  105.  
  106.   define start run start \v(filename)
  107.  
  108. Then, every time you download a file (not just email, but anything Windows
  109. knows about), Windows will load it into its associated application for you
  110. if you just type "start" at the K-95> prompt.  \v(filename) is the name
  111. of the file most recently downloaded.
  112.  
  113. - Frank
  114.  
  115. P.S. I realize the Latin-1/CP1252 dilemma is solved by Unicode, but UTF-8
  116. is still not widely used or supported in most of the applications I use
  117. in text sessios to Unix and other hosts.